package com.ayou.executor;

import com.ayou.mapping.MappedStatement;
import com.sun.corba.se.spi.ior.ObjectKey;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * @description: 执行器
 * @author: ayouman
 * @date: 2024/7/1 23:07
 */
public interface Executor {
    public <T> List<T> query(MappedStatement mappedStatement, Map<String, Object> parameters) ;

    int update(MappedStatement mappedStatement, Map<String, Object> parameters);
}
